//
//  AppDelegate.swift
//  AleartView
//
//  Created by 郑东喜 on 2016/12/2.
//  Copyright © 2016年 郑东喜. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        
        // 创建window
        window = UIWindow(frame: UIScreen.main.bounds)
        
        ///启动界面加导航栏
        let nav : UINavigationController = UINavigationController(rootViewController: ViewController())
        
        window?.rootViewController = nav
        window?.makeKeyAndVisible()
        return true
    }


}

